List of named colors |
您所在的位置:网站首页 › brown code官网 › List of named colors |
XKCD Colors#
XKCD colors are supported, but they produce a large figure, so we skip them for now. You can use the following code if desired: xkcd_fig = plot_colortable(mcolors.XKCD_COLORS) xkcd_fig.savefig("XKCD_Colors.png")References The use of the following functions, methods, classes and modules is shown in this example: matplotlib.colors matplotlib.colors.rgb_to_hsv matplotlib.colors.to_rgba matplotlib.figure.Figure.get_size_inches matplotlib.figure.Figure.subplots_adjust matplotlib.axes.Axes.text matplotlib.patches.Rectangle Total running time of the script: (0 minutes 1.147 seconds) Download Python source code: named_colors.py Download Jupyter notebook: named_colors.ipynb Gallery generated by Sphinx-Gallery |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |